package com.digital.smartgrow.entity.datacenter;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字典类型表
 * </p>
 *
 * @author sunyuechao
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict_type")
@ApiModel(value="SysDictType对象", description="字典类型表")
public class SysDictType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典主键")
    @TableId(value = "dict_id", type = IdType.AUTO)
    private Long dict_id;

    @ApiModelProperty(value = "字典名称")
    @TableField("dict_name")
    private String dict_name;

    @ApiModelProperty(value = "字典类型")
    @TableField("dict_type")
    private String dict_type;

    @ApiModelProperty(value = "状态（0正常 1停用）")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String create_by;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime create_time;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String update_by;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime update_time;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "类型（0系统 1用户）")
    @TableField("is_sys")
    private Integer _sys;

    @ApiModelProperty(value = "上级")
    @TableField("dict_super")
    private String dict_super;


}
